import layoutHeaderAside from "@/layout/header-aside";

const _import = require("@/libs/util.import." + process.env.NODE_ENV);

export default [
  {
    path: "/data_center",
    meta: {
      title: "首页",
      auth: true
    },
    redirect: { name: "DataCenterIndex" },
    component: layoutHeaderAside,
    children: [
      {
        path: "index",
        name: "DataCenterIndex",
        meta: {
          title: "首页",
          auth: true
        },
        component: _import("system/log")
      },
      {
        path: "log",
        name: "DataCenterLog",
        meta: {
          title: "前端日志",
          auth: true
        },
        component: _import("system/log")
      }
    ]
  },
  {
    path: "/data_center_index2",
    name: "DataCenterIndex2",
    meta: {
      title: "页面 1",
      auth: true
    },
    component: _import("demo/page1")
  }
];
